<template>
  {{ msg }}
  <button @click="count++">count:{{ count }}</button>
</template>

<script setup lang="ts">
defineProps(['msg'])
import {ref} from 'vue'

const count = ref(0)

</script>

<style lang="scss" scoped>
h3, button {
  padding: 13px;
  display: inline-block;
  min-width: 55px;
  margin: 6px;
  color: red;
}
</style>
